package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Question;
import cn.wolfcode.trip.base.domain.StrategyReview;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

public interface IQuestionService {
    PageInfo<Question> query(QueryObject qo);

    void saveOrUpdate(Question question);

    Question getById(Long id);

    int queryForCommentCountById(Long id);

    void updateView(Long id);

    void delete(Long id);

    void delFollow(Long uid, Long qid);

    void addFollow(Long uid, Long qid);

    Question getFollowQuestionById(Long uid, Long qid);


}
